package top.mccat.shirospring.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.mccat.shirospring.pojo.User;

/**
 * @author raven
 */
public interface UserService extends IService<User> {
    /**
     * 通过用户名来查询数据
     * @param name 用户名
     * @return user 对象
     */
    User queryUserByName(String name);
}
